import request from '@/utils/request';

// 获取自己的帖子
export function myForumPost(params) {
    return request({
        url: `/forum-post/selectSelfForumPost?forumPostAuthorId=${params}&pageNum=${params}&pageSize=${params}`,
        method: 'get',
    });
}

// 获取全部帖子
export function getAllForumPost() {
    return request({
        url:`/forum-post/selectAllForumPost?pageNum=1&pageSize=6`,
        method: 'get'
    })
}